package cate.common.table.res.farm.row;

import cate.common.table.EExcelNoteField;
import cate.common.table.EExcelRowClass;
import cate.common.table.ERow;
import cp.solution.util.str.Str;

import java.util.List;

@EExcelRowClass
public class FarmGroundRow extends ERow {
    @EExcelNoteField(fieldName = "土地等级")
    public int level;
    @EExcelNoteField(fieldName = "升级消耗")
    public String levelConsumeStr;
    @EExcelNoteField(fieldName = "可以种的种子")
    private String seedStr;

    public List<Integer> seeds;

    @Override
    public void decode() {
        seeds = Str.str2IntList(seedStr, "#");
    }
}
